/*
 * @Author: liuying 247220246@qq.com
 * @Date: 2024-12-31 17:03:04
 * @LastEditors: liuying 247220246@qq.com
 * @LastEditTime: 2025-01-17 15:47:03
 * @FilePath: \my-book-react\src\types\book.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export interface IBookInfo {
  author: string;
  bookId: string;
  categoryName: string;
  coverImg: string;
  desc: string;
  title: string;
  wordCount?: number;
  isSerial?: boolean;
  minorCate?: string;
  chapters?: string[];
  chapterInfo?: IChapterInfo;
}
export interface IChapterInfo {
  chapterId: string;
  chapterIndex: number;
  chapterName: string;
  content: string[];
}
